<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>分数表</title>
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <link rel="icon" href="imags/22.jpg">
    <style>
        #wjtable {
            width: 800px;
            margin: 10px auto;
            overflow-x: auto;
        }


        #wjtable thead th,
        td {
            width: 100px;
            white-space: nowrap;
            text-align: center;
        }

        #table-1 thead,
        #table-1 tr {
            border-top-width: 1px;
            border-top-style: solid;
            border-top-color: #a8bfde;
        }

        #table-1 {
            border-bottom-width: 1px;
            border-bottom-style: solid;
            border-bottom-color: #a3acb9;
            empty-cells: show;
            min-width: 780px;
            margin: auto;
        }

        /* Padding and font style */
        #table-1 td,
        #table-1 th {
            padding: 5px 10px;
            font-size: 12px;
            font-family: Verdana;
            color: #4a4b4b;
        }

        /* Alternating background colors */
        #table-1 tr:nth-child(even) {
            background: #d3dfed
        }

        #table-1 tr:nth-child(odd) {
            background: #FFF
        }


        #wjtable #demo4 {
            position: absolute;
            /* bottom: -50px; */
        }

        #paging-data {
            width: 800px;
            margin: auto;
        }

        .relt-table {
            width: 800px;
            margin: auto;
        }

        .relt-table td {
            white-space: pre-wrap
        }
    </style>
</head>

<body>

    <div id="wjtable">
        <div>详细结果：</div>
        <table id="table-1">
            <thead>
                <tr>
                    <th>用户</th>
                    {% for item in options%}
                    <th>{{item}}</th>
                    {% endfor %}
                </tr>
            </thead>
            <tbody>
                {% for item in list%}
                <tr>
                    <td>{{item.user}}</td>
                    {% for i in item.results%}
                    <td>{{i}}</td>
                    {% endfor %}
                </tr>
                {% endfor %}
            </tbody>
        </table>
    </div>


    <script src="js/jquery-3.6.0.min.js"></script>
    <script src="https://cdn.bootcss.com/axios/0.18.0/axios.min.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <script>

    </script>
</body>

</html>